package com.ms.education.course.entity.vo;

import com.baomidou.mybatisplus.annotation.*;
import com.ms.education.course.entity.Chapter;
import com.ms.education.course.entity.Comment;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * <p>Project:education-CourseResultVo
 * <p>Powered by ms on 2023-01-17 01:02:57
 *
 * @author ms
 * @version 1.0
 * @since 1.8
 */
@Data
public class CourseResultVo {

    private Integer id;

    private Integer teacherId;

    private String teacherName;

    private Integer subjectId;

    private Integer subjectParentId;

    private Integer classId;

    private String title;

    private BigDecimal price;

    private Integer lessonNum;

    private String cover;

    private Long buyCount;

    private Long viewCount;

    private Long version;

    private String status;

    private Boolean isDeleted;

    private Date gmtCreate;

    private Date gmtModified;

    private String description;

    private List<Chapter> chapters;

    private List<Comment> comments;

    @Override
    public String toString() {
        return "CourseResultVo{" +
                "id=" + id +
                ", teacherId=" + teacherId + '\n' +
                ", teacherName='" + teacherName + '\n' +
                ", subjectId=" + subjectId + '\n' +
                ", subjectParentId=" + subjectParentId + '\n' +
                ", title='" + title + '\n' +
                ", price=" + price + '\n' +
                ", lessonNum=" + lessonNum + '\n' +
                ", cover='" + cover + '\n' +
                ", buyCount=" + buyCount + '\n' +
                ", viewCount=" + viewCount + '\n' +
                ", version=" + version + '\n' +
                ", status='" + status + '\n' +
                ", isDeleted=" + isDeleted + '\n' +
                ", gmtCreate=" + gmtCreate + '\n' +
                ", gmtModified=" + gmtModified + '\n' +
                ", description='" + description + '\n' +
                ", chapters=" + chapters + '\n' +
                ", comments=" + comments + '\n' +
                '}';
    }
}
